﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<KLS.PPDS.Web.Models.ArticleContentViewModel>" %>
<%             
    var headLine = Model.IsTextDisable.Equals(false) ? (object)new { @maxlength = "100", @class = "ForceFoucs" } : (object)new { @maxlength = "100", @disabled = "disabled", @class = "ForceFoucs" };
%>
<tr>
    <td>
        <%:Html.Label(CommonString.ContentHeading)%>
        <br />
        <%:Html.TextBoxFor(c => c.Headline, headLine)%>
    </td>
                    
    </tr>
    <tr>
                    
    <td>
        <label for="Comments">
            <%:CommonString.Comments %></label>
        <br />
        <%             
            var comments = Model.IsTextDisable.Equals(false) ? (object)new { @rows = "4", @cols = "28", @maxlength = "2000", @class = "ForceFoucs" } : (object)new { @rows = "4", @cols = "28", @maxlength = "2000", @disabled = "disabled", @class = "ForceFoucs" };
        %>
        <%:Html.TextAreaFor(c => c.Comments, comments)%>
    </td>
</tr>